package com.kuaimacode.kframework.api.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.util.List;

/**
 * @author dong
 * @Title:
 * @Package com.kuaimacode.kframework.api.vo.request
 * @Description: created by IntelliJ IDEA
 * @date 2019-03-10 15:25
 */
@Data
@ApiModel(value = "AuthenMasterReq")
public class AuthenMasterReq {

    @ApiModelProperty(value = "手机号码")
    @Pattern(regexp = "^1(3|4|5|7|8|9)\\d{9}$",message = "手机号码格式错误")
    private String phone;
    @ApiModelProperty(value = "验证码")
    @NotBlank(message = "验证码不能为空")
    private String verifyCode;
    @ApiModelProperty(value = "服务类型多选用逗号隔开")
    private List<ServiceTypeReq> serviceType;
//    @ApiModelProperty(value = "技能类型 列表id值多选用逗号隔开")
//    private String skillType;
//    @ApiModelProperty(value="分站id")
    @NotBlank(message = "分站Id不能为空")
    private String agentId;
    @ApiModelProperty(value="师傅定位经度")
    @NotBlank(message = "longitude不能为空")
    private String longitude;
    @ApiModelProperty(value="师傅定位维度")
    @NotBlank(message = "latitude不能为空")
    private String latitude;
    @ApiModelProperty(value = "名字")
    private String name;

}
